<template>
	<view class="main">
		<view class="content" v-html="value">
			
		</view>
	</view>
</template>

<script>
	import {
		getConfigs
	} from '@/api/index.js'
	export default{
		data(){
			return{
				value:'',
				name:''
			}
		},
		onLoad(e) {
			this.name = e.name
			uni.setNavigationBarTitle({
				title:e.title
			})
			this.getData()
		},
		methods:{
			getData(){
				getConfigs({
					name:this.name
				}).then(res => {
					this.value = res.data.value
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		min-height: 100vh;
		padding: 30rpx;
		.content{
			::v-deep *{
				color: #000 !important;
			}
		}
		
	}
</style>